<?php
use think\facade\Route;

Route::rule("test","index/hello","get");
//detail中间件
Route::rule("detail","detail/abc","GET")->middleware(\app\demo\middleware\detail::class);

